From e7d8f0575c09b800b08a346748c85efd58929e86 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 11 Sep 2006 02:39:26 +0000 Subject: [PATCH] Request the display name too, otherwise "Desktop" does not appear in the 2006-09-10 Matthias Clasen * gtk/gtkfilechooserbutton.c (model_add_special): Request the display name too, otherwise "Desktop" does not appear in the file chooser button. --- ChangeLog | 6 ++++++ gtk/gtkfilechooserbutton.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 97450f53e8..62a055d88d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-09-10 Matthias Clasen + + * gtk/gtkfilechooserbutton.c (model_add_special): Request + the display name too, otherwise "Desktop" does not appear + in the file chooser button. + 2006-09-10 Tor Lillqvist * gdk/win32/gdkprivate-win32.h diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index c9d8809e13..8b3d78edc9 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -1692,7 +1692,7 @@ model_add_special (GtkFileChooserButton *button) gtk_tree_path_free (tree_path); handle = gtk_file_system_get_info (button->priv->fs, path, - GTK_FILE_INFO_ICON, + GTK_FILE_INFO_DISPLAY_NAME | GTK_FILE_INFO_ICON, model_add_special_get_info_cb, info); gtk_list_store_set (store, &iter, -- 2.30.2